package com.lyy.controller;

import com.lyy.entity.param.UserLoginParam;
import com.lyy.result.Result;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author Liangyaoyun
 */
@Controller
@RequestMapping(value = "/api/v1/request-body")
public class RequestBodyController {
    @ResponseBody
    @RequestMapping("/exe04")
    public Result exe(@RequestBody UserLoginParam userLoginParam){
        return Result.success(userLoginParam);
    }
}
